﻿using System;
namespace CollegeShop.Repository.Entity
{
	/// <summary>
	/// t_order:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class t_order
	{
		public t_order()
		{}
		#region Model
		private int _id;
		private string _ordernumber;
		private int? _totalamount;
		private decimal? _totalmoney;
		private string _buyuser;
		private string _linkman;
		private string _linkphone;
		private int? _dormitoryid;
		private string _deliveryaddress;
		private string _goodsdescript;
		private int? _payway;
		private string _remark;
		private DateTime? _ordertime;
		private int? _orderclient;
		private int? _state;
		private string _handleuser;
		private int? _salesunitid;
		private DateTime? _handletime;
		private int? _buyway=0;
		private int? _buyclient;
		private int? _anonymousid=0;
		/// <summary>
		/// auto_increment
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string OrderNumber
		{
			set{ _ordernumber=value;}
			get{return _ordernumber;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? TotalAmount
		{
			set{ _totalamount=value;}
			get{return _totalamount;}
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? TotalMoney
		{
			set{ _totalmoney=value;}
			get{return _totalmoney;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string BuyUser
		{
			set{ _buyuser=value;}
			get{return _buyuser;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string LinkMan
		{
			set{ _linkman=value;}
			get{return _linkman;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string LinkPhone
		{
			set{ _linkphone=value;}
			get{return _linkphone;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? DormitoryID
		{
			set{ _dormitoryid=value;}
			get{return _dormitoryid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string DeliveryAddress
		{
			set{ _deliveryaddress=value;}
			get{return _deliveryaddress;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string GoodsDescript
		{
			set{ _goodsdescript=value;}
			get{return _goodsdescript;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? Payway
		{
			set{ _payway=value;}
			get{return _payway;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Remark
		{
			set{ _remark=value;}
			get{return _remark;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? OrderTime
		{
			set{ _ordertime=value;}
			get{return _ordertime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? OrderClient
		{
			set{ _orderclient=value;}
			get{return _orderclient;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? State
		{
			set{ _state=value;}
			get{return _state;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string HandleUser
		{
			set{ _handleuser=value;}
			get{return _handleuser;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? SalesUnitID
		{
			set{ _salesunitid=value;}
			get{return _salesunitid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? HandleTime
		{
			set{ _handletime=value;}
			get{return _handletime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? BuyWay
		{
			set{ _buyway=value;}
			get{return _buyway;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? BuyClient
		{
			set{ _buyclient=value;}
			get{return _buyclient;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? AnonymousID
		{
			set{ _anonymousid=value;}
			get{return _anonymousid;}
		}
		#endregion Model

	}
}

